package com.animal.mapper;


import com.animal.entity.pojo.ABlog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ABlogMapper {
    /**
     * 显示博客
     * @return
     */
    List<ABlog> getBlog();

    /**
     * 发表博客
     * @param aBlog
     * @return
     */
    int addBlog(ABlog aBlog);

    int delete(@Param("id") Integer id);

    int deleteByIds(@Param("ids") List<Integer> ids);

}
